<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="Public/Admin/Flat/img/favicon.ico">
	   
	</head>
	<body>
	<div class="alert alert-success">左侧导航列表设置</div>
	<!--<a href="{{U('Setting/setico')}}" class="btn btn-sm btn-warning">左侧导航列表图标</a>-->
	<form  method="post" action="">
	<table class="table table-hover">
			<tr class="active">
			  <th width="25%">左侧导航列表(第三级导航标签)</th>
			  <th width="25%">左侧导航列表(第三级导航品牌)</th>
			  <th width="15%">网络图标(顶级)</th>
			  <th>分类</th>
			</tr>
			{{foreach from="$data" key="$k" value="$v"}}
			<input type="hidden" name="stid[]" value="{{$v['stid']}}"/>
			<input type="hidden" name="pid[{{$v['stid']}}]" value="{{$v['pid']}}"/>
			<input type="hidden" name="stcid[{{$v['stid']}}]" value="{{$v['cid']}}"/>
			<tr>
				{{if value="$v['pid']==0"}}
				<td></td>
				<td></td>
				<td><input class="form-control" type="text" placeholder="请输入网络图标(顶级)"  name="index_sth[{{$v['stid']}}]"   
					{{if value="$v['pid']==0"}}
					value="{{htmlspecialchars($v['index_sth'])}}"
					{{endif}}
				></td>
				{{else}}
				<td><input class="form-control" type="text" placeholder="用|分割"  name="index_list[{{$v['stid']}}]" value="{{$v['index_list']}}"></td>
				<td><input class="form-control" type="text" placeholder="用|分割"  name="index_a[{{$v['stid']}}]" value="{{$v['index_a']}}"></td>
				<td></td>
				{{endif}}
				<td>{{$v['_name']}}</td>
			</tr>
			{{endforeach}}
				<td>
					操作: <button class="btn btn-sm btn-primary" type="submit"> 确定 </button>
				</td>
		</table>
		</form>
		
	</body>
</html>
